package com.xuelang.pipeline.artifact.app.harborv2.xo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author xiwen.zxg
 * @since 2024/7/18
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WebhookTargetObject {
    /**
     * The webhook target address.
     */
    private String address;
    /**
     * The webhook auth header.
     */
    @JsonProperty("auth_header")
    private String authHeader;
    /**
     * The webhook target auth type.
     */
    @JsonProperty("payload_format")
    private String payloadFormat;
    /**
     * Whether or not to skip cert verify.
     */
    @JsonProperty("skip_cert_verify")
    private Boolean skipCERTVerify;
    /**
     * The webhook target notify type.
     */
    private String type;
}